Performing a MT translation on a (eg.) JSON document allows the document to be translated, but as the attribution is hard-coded to a subset (.po, .properties) and done afterwards, the translations are left as is without attribution.
The check should happen before sending the document to MT.
Turns out it was just a missing "continue;"