fixing issue with environment variable not getting removed from Applicat...

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