Ok, does the app have a default image that it subs when the thumbnail is not available? You may be able to look for that....
This is a pretty tough problem though. I think you should try to create a broken image/thumbnail and examine it closely. Maybe there is something unique (like size) that would represent the broken image? Not seeing it first hand that's my best guess.