check_pwd now successfully gets the return code from git status, reacts accordingly
Merge pull request #32 from lzamparo/check_repo_fix

check_pwd fix