What line 287 and such are for, is to detect the filesystem format and create the partition image file. This means if it’s not one of the known supported types, it’s just going to create a raw image of that partition, but all other partitions will be able to use the partclone.{$fstype} file.
D