cf-dc-api.pl: better repo filtering