[OSJC-53] fixing issue with environment variable destroy

...ionResource#environmentVariablesMap when variable.destroy() is called