Fixed bug with prompt when not in a Git repo.