Bug 957883 - git clone was getting stuck asking for a password in remote...

... repository and no amount of redirecting or closing stdin prevented a deadlock.