Fix test: "pm has-feature" returns 1 if not present

This function was broken and causing failures on devices that either
don't have a camera or don't have wifi.

Example:
  usr@machine:~$ adb shell pm has-feature android.hardware.wifi
  true
  usr@machine:~$ echo $?
  0

  usr@machine:~$ adb shell pm has-feature android.hardware.camera.any
  false
  usr@machine:~$ echo $?
  1

Test: atest AdbManagerHostDeviceTest
Bug: 162619753
Change-Id: I0bf37a361344111456b268e3d2b50d9dcc1d0ff1
1 file changed