Fix director_name variable lookup

Makes variable lookups in template more consistent and scope.lookupvar
is a requirement when using puppet 3.3.1