Fix to display all the config data for metrics that are grouped. The
metric names themselves were not being displayed due to an exception.
This fix addresses Jira CORD-1102.

Change-Id: I29c58ce04389d9eefd93e6861aa412c656c53c52
diff --git a/cli/device.py b/cli/device.py
index ee93b89..35d9f27 100644
--- a/cli/device.py
+++ b/cli/device.py
@@ -263,7 +263,7 @@
                 else:
                     state = 'disabled'
                 print_pb_list_as_table(
-                    'Metric group {} is {}'.format(g.name,state),
+                    'Metric group {} is {}'.format(g.group_name,state),
                     g.metrics, {'enabled', 'sample_freq'}, self.poutput,
                     dividers=100, show_nulls=True)
         else: