Put the find narrow method back in

In favour of attempting to find the basedir the pattern sits on, but only try when the path looks like a pattern, otherwise it's more likely to be an incorrect directory.
Support for -w 'lib/**/foo.js' to match 'lib'