Fix issue where non-AB-ota devices will cause flashall to fail.

We now check that a device has slots before trying to get the name of
any of them.

Bug: 29278988

Change-Id: I50f3596e467afae20177ce4e458e697435223c51
1 file changed