Only return one IP address in `Environment::get('ip')` (see #5830)