Fix bogus tests on rev-list output.