Make it search `package.json` for the module which required it, not for project root.

Make it search `package.json` for the module which required it, not for project root.

Followup to #35, works for me.