Fix template lookups to work under puppet 3.6.1