FELIX-4385: Applied the patch fixing the NPE when configuration is deleted at the same time the corresponding ManagedService service is unregistered from the OSGi registry. Also added the corresponding integration test.