Fix warning messages on being in .git dir

Note: May want to make prompt display other git status message for this
circumstance