fix for multiple bcache devices

when system has only one bcacheN device script worked fine, but when it has
more device stats from only one device was collected