struct nonmatching_ref_data: store a refname instead of a ref_entry