Add cwd and its parents to node's search path.