Fix hiera environment lookup