Puppet 3.4 compatibility fix