HHH-8428 Protect SessionFactoryRegistry.getNamedSessionFactory(String) from NPE
HHH-8428 comment & cleanup