s4-pyregistry: use s4_event_context_init()