In #4185. @mastersans has added the purl string (including version) into the productinfo internal data structure, which should be useful for later internal functions and things like exporting the purl string into sboms.
It's pretty simple code, but it would be nice to have a unittest for it, so this bug is a reminder to write one.