Fixes extracting os info from regex groups.

With the new regex, the info we want is in groups 1, 3, and 5.
The assignment does this already, group 1 contains the osname, group 3 contains the version, and group 5 contains the label.