As you can see in the headers of the mail, the autoremoval warnings are sent by the release team not the QA infrastructure.
That script looks like it gets version and bug information in one fetch from UDD (https://anonscm.debian.org/git/mirror/release-tools.git/tree/mailer/mail_autoremovals.pl#101), which I took to mean the problem was in what generated that information, but I don't know Perl.