Mod: raises an exception in the setter if the env doesn't exist
Merge branch 'devel/check-env-in-setter'