tests: don't swallow Git errors upstream of pipes