So that we don't have to duplicate that logic in both 'Debian package' and 'Package' steps. For #1474