Fix an issue while saving an environment in features deployment module.