use PathUtil to get IPath from file - fix for FELIX-2488


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@980329 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java b/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java
index dd49f0b..901904b 100644
--- a/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java
+++ b/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java
@@ -482,7 +482,7 @@
 
             if ( entries == null )
             {
-                Path path = new Path(bundle.getLocation().getAbsolutePath());
+                IPath path = PathUtil.newPathIfExists(bundle.getLocation());
 
                 if ( path == null )
                 {