> An easy fix for this is for the imtest script to only worry about
> links when it has a full filename, with extension. I'm attaching a
> version which does this, and should fix your problem.
I like the idea of fixing this in one place. However, this will cause imtest to start rejecting symbolic links without an extension. I suppose that is not a common situation, but neither is the situation of having a symbolic link in the same directory with the same basename as the input file.
Leaving the extension on the input file should avoid either of these issues, but requires a fix for each individual script.