Fixed crash when NODE_PATH environment variable is missing