LPS-39286 Prevent undeploy of required plugins