Fix regex for 2.7 version of Puppet

Thanks for @robdbirch for spotting :+1: