Fixing and enhancing the build and release tools.

Change-Id: Ia780762d70bc681751749ef0fd5a1954d6a637e1
diff --git a/tools/test/bin/onos-archetypes-test b/tools/test/bin/onos-archetypes-test
index 9ac35cc..098e5b6 100755
--- a/tools/test/bin/onos-archetypes-test
+++ b/tools/test/bin/onos-archetypes-test
@@ -6,6 +6,7 @@
 export AROOT=/tmp/foo
 export ARCHETYPE_OPTS="-DarchetypeGroupId=org.onosproject -Dversion=1.0.0"
 
+mkdir -p $AROOT
 for an in api bundle cli; do
     cd $AROOT
     rm -fr $AROOT/foo-$an