Fix broken check in Debian service provider

Adding the fix proposed in Redmine bug report #19675