[FIXED JENKINS-23661]

Github webhook specifies a "X-Github-Event" header but github services do not.
This adds back the support github services that don't specify a header to just
fallback on the old code.