fix mod config when opsProxy is not set

fixes bug created by #5179