t7501: fix "empty commit" test with NO_PERL