Split metapackage validation into small functions