Don't modify variable passed to env resource when updating

When using a delimiter, the passed value is prepended to the given
environment variable. Unfortunately this has the side effect of modifying
the variable passed to the resource. Oftentimes this is an attribute,
used somewhere else after that, with the wrong, modified value.
Merge pull request #1597 from criteo/modify_env

Don't modify variable passed to env resource when updating