commit-repo.pl: show some more error messages if they happen