[BZ-996144] fix creation of spring based KieModule when running in a managed container