Fix parse release id with dash in type
Fix parse release id with dash in type

We have added updates-testing type, which breaks the parsing function.
Renaming it is not an option at this point, so the parsing function is
updated to extract known list of types first and only then try to take
arbitrary value.

release-engineering/productmd,release-engineering/productmd