Update devscan.py

Fix _extract_dev_name(device_dir) bug:
some device dir has no subdir "block/" , this will cause "IndexError: list index out of range".
In my test environment, LUN 0 has no "block/" subdir, but other LUNs are OK.