Prevent users without hosts from causing errors