fix-remote: Correctly check for remotes when not in git repo.

4e2eab7 - Correctly check for remotes when not in git repo. <David Souther>