pass dir as second argument to packageFilter

Pass second arg to packageFilter, follow-thru to changes introduced to module-deps in https://github.com/substack/module-deps/commit/a82197229eb00ec8aefa95d12c7f8f00569062fa