Add a check to exit gracefully if no block devices are found.

Some systems (VServer based VMs for example) don't supply any block devices to the guest, so exit gracefully if no block devices could be found.