better checking for malformed git push hook payload