better error handling when locating storage devices

Signed-off-by: Tyler Baker <tyler.baker@linaro.org>