A package.main can contain a reference to a dir

Without a addition of '/' as ext, this case it to look for /lib.js

NOTE: quick hack. I don't know the npm spec etc, but this made it work for me :)