lintian: Remove a bit of code duplication

Signed-off-by: Niels Thykier <niels@thykier.net>