Fix for matchdep breaking by missing package.json

Proposed fix for #11 matchdep will break when there is no package.json in the project.

This should do the trick.