maint: fix public-submodule-commit to work with newer git