Use OpsProxy given in the config instead of the env. var. Fixes #4060