fix manifest without main

this is useful for manifest to include a list of modules in node_modules to be bundled, but nothing else.