app: RemoveInstance restores env vars with the same name