ls-remote: run setup_git_directory_gently() sooner