private static Bundle getSystemBundle(List<Bundle> bundles, OsgiFramework jdiscOsgi) {
        for (Bundle b : bundles) {
            if (b instanceof Framework)
                return b;
        }
        if (jdiscOsgi.isFelixFramework()) throw new IllegalStateException("No system bundle in " + bundles);
        return null;
    }
Returns the version of a bundle, as specified by Bundle-Version in the manifest
container-core/src/main/java/com/yahoo/osgi/OsgiImpl.java