Added null MACH address byte array check.

In the Travis CI environment the getHardwareAddress call returns
a null Byte array. Added a null check for this now