t5528-push-default.sh: add helper functions