pass dir as second argument to packageFilter

Adds the extra argument of the path name to the packageFilter added in https://github.com/substack/module-deps/commit/e97e71286fe56720a27741b88e021083174764e8