diff --git a/lib/ecosystems/enrich_spdx.go b/lib/ecosystems/enrich_spdx.go index d2106e6..b97b57e 100644 --- a/lib/ecosystems/enrich_spdx.go +++ b/lib/ecosystems/enrich_spdx.go @@ -76,7 +76,7 @@ func enrichSPDXSupplier(pkg *v2_3.Package, data *packages.Package) { if data.RepoMetadata != nil { meta := *data.RepoMetadata if ownerRecord, ok := meta["owner_record"].(map[string]interface{}); ok { - if name, ok := ownerRecord["name"].(string); ok { + if name, ok := ownerRecord["name"].(string); ok && name != "" { pkg.PackageSupplier = &common.Supplier{ SupplierType: "Organization", Supplier: name,