Isn't it called by https://github.com/puppetlabs/puppet/blob/master/lib/puppet/node/environment.rb#L43 ?