make git update of code in deploy more robust
Merge pull request #219 from dimagi/fabfile-fix

make git update of code in deploy more robust