FIS: repare incorrect return value with ramdisk handling