Friendlier error handling for missing environment variables