Add node path only when necessary. Use the corresponding npm path.