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

Done, and removing it from the logging line above it as well.