t7406: avoid using test_must_fail for commands other than git