Fix deref before null check
Check return val of usb config getter