fix checking for nil body on generic webhook invocation