Introduce _get_messages and _get_matches helper functions to avoid duplication
Introduce _get_messages and _get_matches helper functions to avoid duplication

dastergon/identity.gentoo.org,dastergon/identity.gentoo.org,gentoo/identity.gentoo.org,gentoo/identity.gentoo.org