Better error message when environment variable is not found.