config: Make get work properly

The get command was broken, mis-processing the number of arguments it was
receiving.

Change-Id: I67f60909508ae29fafac20d1da2e830999cd6a92
diff --git a/mdt/config.py b/mdt/config.py
index 8b79ec1..8370332 100644
--- a/mdt/config.py
+++ b/mdt/config.py
@@ -81,7 +81,7 @@
     '''Usage: mdt get [<variablename>]
 
 Returns the value currently set for a given variable name. Some useful
-variables are:
+nvariables are:
 
     preferred-device    - set this to your preferred device name to default
                           most commands to manipulating this specific device.
@@ -100,10 +100,12 @@
         self.config = Config()
 
     def run(self, args):
-        if len(args) == 0:
-            pass
-        elif len(args) == 1:
-            print("{0}: {1}".format(args[1],
+        if len(args) == 2:
+            value = self.config.getAttribute(args[1])
+            if value == None:
+                print("{0} is unset".format(args[1]))
+            else:
+                print("{0} is {1}".format(args[1],
                                     self.config.getAttribute(args[1])))
         else:
             print("Usage: mdt get [<variablename>]")