Make an additional check in listtranslation.

This prevents unneccessary exceptions and thus reduces clutter in the log file.