Errata not calculated/GenerateApplicability fails trying to calculate deleted hosts/Katello 3.17

Hey @matemikulic,

This looks promising, it should be easy to fix too. I’ll take a stab at it and share a patch if you’re interested.