Fallback to module installs if package.json is missing in a local folder install

Fixes #6117
`"file.tgz"` would be  a useful signal of what *kinds* of files we're looking to install from locally.