Fix for module level import not at top of file

Change-Id: I1994b58a027cdac3bf4084b77db61bc646aaaba6
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/bin/obmc_ser_num b/bin/obmc_ser_num
index ba620c8..8d86099 100755
--- a/bin/obmc_ser_num
+++ b/bin/obmc_ser_num
@@ -4,6 +4,10 @@
 This program will get the system serial number from an OBMC machine and print it to stdout.
 """
 
+from gen_arg import *
+from gen_print import *
+from gen_valid import *
+
 import sys
 import os
 import requests
@@ -11,10 +15,6 @@
 save_path_0 = sys.path[0]
 del sys.path[0]
 
-from gen_arg import *
-from gen_print import *
-from gen_valid import *
-
 # Restore sys.path[0].
 sys.path.insert(0, save_path_0)