fix the addNode isLocal behaviour

I'm opinionated.