Fix a duplicate node path require

the node path module is required two times here