Fixed building device desc

When NAME variable in ifcfg was empty then type wasn't recognized correctly from hwinfo.

bnc#862378