Backport for Archetypes subpackage: Avoid failing to create an event when zope.globalrequest.getRequest returns None on the post create event handler. This happens when creating an event during test layer setup time.