Fix typo to work with puppet 3

We were testing puppet 3 and this came up as an error.  It worked with puppet 2 because of dynamic scoping from the calling class but it'll break in puppet 3