Corrected hosts repository call (case)