Fix TISTUD-3085 Numerous calls to npm config get prefix while indexing js modules
  - Move caching of config's "prefix" value into NodePackageManager itself.