Simplify handling of setup_git_directory_gently() failure cases.