changed: Use which output instead of its return code to determine whether a binary exists

Apparently using the return code of which is not reliable on ALL platforms