Fix uniload for packages with plugins