cleanup output of exception

the item indeed is a po item and has references. The old behaviour was
tailored to an older implementation of the fix.
fix the duplicate msgid detection fix

there has been an edge case, that has been taken care of, now.