Fixed error with getting a proxy environment variable