[bundleplugin] fix possible NPE when installing non osgi bundles artifacts

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@925367 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrUpdate.java b/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrUpdate.java
index 3a66cfe..0d9f719 100644
--- a/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrUpdate.java
+++ b/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrUpdate.java
@@ -168,6 +168,10 @@
             try
             {
                 m_resourceBundle = (ResourceImpl) new DataModelHelperImpl().createResource( bundleJar.toURL() );
+                if (m_resourceBundle == null)
+                {
+                    return;
+                }
             }
             catch (IOException e)
             {