(PUP-3244) Add Puppet::Environment::Directories#get! method
This new function will return the directory environment or raise an
error if a directory environment does not exist. This gets rid of the
need to check if environments exist across the codebase before
continuing for the areas where we need.