cosalib: fix name reference
The RHCOS Koji uploads are getting "none" as their name, since cosa now
understand RHCOS doesn't use refs. The "name" field matches what is
desired here, like an RPM name.
@@ -165,8 +165,7 @@ class _Build:
@property
def build_name(self):
""" get the name of the build """
- ref = str(self.get_meta_key("meta", "ref")).split('-')
- return ref[-1]
+ return str(self.get_meta_key("meta", "name")
@property
def summary(self):
