core: do not delete plugin modules from sys.modules