fix deploy xxx  got not a git repository bug

fix got
--> Deploying to xxx environment
--> on host xxxxx
Not a git repository

for
https://github.com/Unitech/pm2-deploy/issues/4#issuecomment-57316175