util-app: Improve serialization of OS media names
This parsing is far from ideal, but we plan on solidifying the variant_id information in libosinfo in order to get rid of this parsing all together.
For now, this patch fixes the issues causing duplicate entries in the media list for the lack of matches for os variant metadata.
This specifically impacts the detection of CentOS and OpenBSD medias.
Fixes #648 (closed)