Propagate metadata on composite profiles

When metadata is specified on a composite profile, propagate the
metadata to the profiles it is composed of.