With all these changes happening in last two weeks, the IPA hosts code was
messy at best. This patch sorts out some of the mess. I already did some
testing: SELinux and HBAC seem to be working correctly. Honza, please take a
look and test this patch with your SSH-related code. That is the last code
that uses host fetching.
If this patch makes it to master, I plan to do some more cleanup in the HBAC
code which is closely related to the code this patch cleans.
Thanks
Jan