Fix pexpect calls in git project type to avoid infinite hanging.
Merge pull request #9 from box/fix_pexpect_hanging_for_git

Fix pexpect calls in git project type to avoid infinite hanging.