fix key error and format syntax error in fabfile
Merge pull request #749 from dimagi/fabfix

fix key error and format syntax error in fabfile