BMC version check logic fix when multiple images are active

Resolves  openbmc/openbmc-test-automation#1023

Change-Id: I0f35c31323f6807c033ad944e294e0a56061c11e
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utilities.py b/lib/utilities.py
index da2f962..47586e5 100755
--- a/lib/utilities.py
+++ b/lib/utilities.py
@@ -253,3 +253,10 @@
     return set(fru_list)
 
 ###############################################################################
+
+
+def min_list_value(value_list):
+    r"""
+    Returns the element from the list with minimum value.
+    """
+    return min(value_list)