fix checking for nil body on generic webhook invocation

`body` will be nil only if error occurs, in all other cases at most body length will be 0, I'm wondering though, what is it for, since it changes behavior?