Here is proposed patch. I forgot to send it in first message.
Attachment: os-prober-lfs.diff Description: Binary data