This is fine - but  Env() needs to be fixed so that it will pick up cms or lms "SERVICE_VARIANT" when none is set; as is, none of the environment specified in lms.env.json (or cms.env.json) is passed on to sass, and thus sass will fail for USE_CUSTOM_THEME cases.