Conditionally loop over metapkgs

Added check to prevent looping over the metapkgs in `parse_cartridges`
when `CONF_METAPKGS=none`