Ensure that ref_names combine branch and tag names.
Just concat branch and tag names. No feed to flatten.