perf/run: add conf_opts argument to get_var_from_env_or_config()