Do not attempt to discover the executable path of empty variables

Otherwise, which outputs a message like usage: which [-as] program ... . Instead of invoking which without arguments, lets skip the check

Closes: #927022

Merge request reports

Loading