Hi Bernd,
Yes, this is a bug, thanks for discovering it. I'm going to fix it immediately. It will be fixed in the incoming version 1.8.5 of PixInsight.
The next version (well, actually, the current one in our open source repository) is much more tolerant to this kind of errors, which won't prevent loading a file.