Added support for non-removable packages.

This makes it possible to hide core packages from the list of removable ones.