Avoid running npm install upon detection of node_modules directory