Fix github's HashPayload func