Refs #7363. Version number regex adjustment.

Makes the regex handle things like 4.2.0-RC1-32-g1771379. Now package
can find correct installed version.