Patch SimpleServicesManager to handle null plugins