Only run setup_git for git checkouts.