Tries to derive the pre-commit executable from the $PATH. Returns "" if no executable is found.

path_derive_precommit_exec_path()