NX-392: improve startup performance (GLOBAL_INDEX maps to getResources which is faster than findEntries for bundles with embedded jars; when we move to fine-grained bundles we can go back to INDEX)