Correct error message when no git repo is found.