git_exec_path: avoid Coverity warning about unfree()d result