Refactor Env#lookup

Trimmed down version of #395 still relying on manual paths declaration after encountering too many bugs with NPM to allow using it in lieu of paths lookups.