Fixing variable override issue in the Puppet resource group utility class.