errata mailer sends email with no hosts
Steps to Reproduce:
1.Configure katello 3.0 with smtp settings.
2.Register one or two clients.(Install katello-agent)
3.Run '/usr/sbin/foreman-rake reports:daily' to get report immediately.
Errata mail shows 0 results, no details about the systems.
It should show the correct results(applicable errata's along with systems list)