Fixing a conditional statement w.r.t. to printing out debug messages onto the screen while connecting to a remote BMC over LAN