updates the command line spec to accurately communicate where the EnvironmentNotFound exception is raised.