fix(addNode): fixed pwd() function

It has been overridden previously.