Fix scope variable access on Puppet 2.7