Fixes extracting os info from regex groups.

With the new regex, the info we want is in groups 1,3, and 5.
Merge pull request #96 from Sarsate/centos-7-config

Fixes extracting os info from regex groups.