Seperate out the null check
Seperate out the null check

#57 In Matalb this function fails when the serial number is null. 

Checking to see that the serial number first ensures the null pointer exception causing Matalb to fail is moved ahead of the serial number check
gary-rowe/hid4java,gary-rowe/hid4java