Update conditions when to look for proxy URL in environment.