git-push-all.sh: shellcheck warnings

We've got a bunch of shellcheck warnings here since I merged legacy/trac#29879 (moved).