Fix metapackage merging