[Device] Fix a GetIcon() crash case

Signed-off-by: Regis Merlino <regis.merlino@intel.com>