Further abstract out set_env_var_from_config to reduce copy/pasted code and make code more obvious
Further abstract out set_env_var_from_config to reduce copy/pasted code and make code more obvious

Signed-off-by: qubitrenagade <62d91aa195a7b065144f3154af294a290dc38d0d@gmail.com>

rsertelon/habitat,habitat-sh/habitat,rsertelon/habitat,rsertelon/habitat,rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat,rsertelon/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat,rsertelon/habitat