runtime: Fix legacy package regex in collect script
The function that checks for legacy packages in the collect script was
missing pipes denoting regex alternation.
@@ -292,8 +292,8 @@ show_package_versions()
# CC 2.x, 3.0 and runv runtimes. They shouldn't be installed but let's
# check anyway.
pattern+="cc-oci-runtime"
- pattern+="cc-runtime"
- pattern+="runv"
+ pattern+="|cc-runtime"
+ pattern+="|runv"
# core components
for project in @PROJECT_TYPE@
