Fix compatibility with puppet 2.6