check_pwd fix 

The check_pwd function in *tools/create* now successfully gets the return code from git status.  I tested  it locally, seems to work alright.  The syntax to check the return code could be used on the clone_and_push function too I think.