Fix command not found checks.