[Bug 49593] New: inconsistent return code when executable is not found