[PATCH 4/8] mf/topology_loader: Move current type check into topology_branch_foreach_up_types.