git-sh-setup: do not use repo-config to test the git directory