Adapt SimplUtils.getContArgs to conditional SubstEnv