pre-push: fix request and payload check