fix a waring during USB inventry

closes: #1990

Reported-by: Walid Nouh <walid.nouh@gmail.com>
fix: avoid err is the controller have no DeviceID

closes: #1989

Reported-by: Walid Nouh <walid.nouh@gmail.com>
Merge branch '2.2.x' into 2.2.x+extra
export getRegistryValues()
Merge remote-tracking branch 'origin/2.2.x' into 2.2.x+collect
export getRegistryValues()
Merge branch '2.2.x+collect' into 2.2.x+extra