libfstools: fix matching device name