When environment variables were undefined an error was thrown.