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

We can get rid of this `pass` since we have the logger command.