Create a local registry on contexts that may not have it