Read device class correctly from the lshw XML

Change-Id: I3aeeb7c91caa4c92dbc46781094c1390fcc355c8