Get BMC Hostname fixed to isolate hostname

Previously...

hostnamectl | grep hostname
   Static hostname: witherspoon

Fixed with...

hostnamectl | grep hostname | cut -f 2 -d : | sed -re 's/ //g'
witherspoon

- Improved corresponding test in network/test_bmc_network.robot

Change-Id: Ic931f7ca4b96e28fc11b51df8c33b10f086a934f
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/network/test_bmc_network.robot b/network/test_bmc_network.robot
index f877c73..6c738e2 100644
--- a/network/test_bmc_network.robot
+++ b/network/test_bmc_network.robot
@@ -557,8 +557,7 @@
     #           configured on system.
 
     ${sys_hostname}=  Get BMC Hostname
-
-    Should Contain  ${sys_hostname}  ${hostname}
+    Should Be Equal  ${sys_hostname}  ${hostname}
     ...  ignore_case=True  msg=Hostname does not exist.
 
 Test Teardown Execution