When uninstalling, use the output of 'pm path' instead of its exit code.

On K, 'pm path' exits with an exit code of 0 for non existant packages.
On M, it exits with an exit code of 1...

So let's scan its output instead.

Change-Id: I894509d5da509feb7819e4be06e8210a3d8f0d2e
Reviewed-on: https://chromium-review.googlesource.com/c/1415711
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
1 file changed