Use DEFAULT_INSTANCE_TYPE in exercises

Change-Id: I5a98a3a4e8057f613a94054b08ff5439f1ccf7cd
diff --git a/exercises/volumes.sh b/exercises/volumes.sh
index fe06b6e..6ea9a51 100755
--- a/exercises/volumes.sh
+++ b/exercises/volumes.sh
@@ -52,10 +52,10 @@
 # List of instance types:
 nova flavor-list
 
-INSTANCE_NAME=${DEFAULT_INSTANCE_TYPE:-m1.tiny}
-INSTANCE_TYPE=`nova flavor-list | grep $INSTANCE_NAME | cut -d"|" -f2`
-if [[ -z "`nova flavor-list | grep $INSTANCE_NAME | cut -d"|" -f2`" ]]; then
-    # and grab the first flavor in the list to launch
+DEFAULT_INSTANCE_TYPE=${DEFAULT_INSTANCE_TYPE:-m1.tiny}
+INSTANCE_TYPE=`nova flavor-list | grep $DEFAULT_INSTANCE_TYPE | cut -d"|" -f2`
+if [[ -z "$INSTANCE_TYPE" ]]; then
+    # grab the first flavor in the list to launch if default doesn't exist
    INSTANCE_TYPE=`nova flavor-list | head -n 4 | tail -n 1 | cut -d"|" -f2`
 fi