Fix installation of core plugins

This prevents the 'plugin.jpi.pinned' file
from being deleted.
Merge pull request #188 from Jimdo/fix-installation-of-core-plugins

Fix installation of core plugins