pkg: remove functions related to MetaPackages