Modified PerProcessInstanceRuntimeManager to generate a new Runtime when the runtime Context is an EmptyContext