repodata_swap_attrs: make sure src and dest are in the repodata