[bundlerepository] fix a NPE in the index goal

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@937978 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrIndex.java b/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrIndex.java
index 5ca6afa..cfa77f5 100644
--- a/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrIndex.java
+++ b/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrIndex.java
@@ -97,7 +97,7 @@
             log.info("URL template: " + urlTemplate);
 
             List<File> files = new ArrayList<File>();
-            findAllJars( new File(mavenRepository), files );
+            findAllJars( new File(repo), files );
 
             DataModelHelperImpl dmh = new DataModelHelperImpl();
             RepositoryImpl repository;