Fixed onos-install to deal with the first-time install where there is no .m2/repository/org

Change-Id: I9d2ba4be4230bbfd4a6f29645c07c6210a282f9e
diff --git a/tools/test/bin/onos-install b/tools/test/bin/onos-install
index 7c7d3fe..c42c94e 100755
--- a/tools/test/bin/onos-install
+++ b/tools/test/bin/onos-install
@@ -45,7 +45,8 @@
 
     # Remove any previous ON.Lab bits from ~/.m2 repo and re-stage it.
     rm -fr ~/.m2/repository/org/onosproject
-    cp -r $ONOS_INSTALL_DIR/$KARAF_DIST/system/org/onosproject ~/.m2/repository/org/onosproject
+    mkdir -p ~/.m2/repository/org
+    cp -r $ONOS_INSTALL_DIR/$KARAF_DIST/system/org/onosproject ~/.m2/repository/org
 
     # Drop log level for the console
     echo "log4j.logger.org.apache.sshd = WARN" \