Support projects with no_modules in subdirectories, and those are using not only master branch

In addition to https://github.com/bahmutov/pre-git/pull/15 pulrequests.
Allow hooks to use package.json from git root subdirectory, and use any current branch instead strictly master