Test fix rev

I fixed the two failing test scripts following Karsten's hint from here:
https://github.com/msysgit/git/commit/2482bc95bfb321bae3bb70d6516df53efc631261#commitcomment-5946968

I had this as one commit originally (kasal:test-fix) but changed that to contain reverts.

Out of curiosity:
What about 1.9.1?  Are you going to rebase the msysgit-specific patches? Should the reverted ones get dropped?