Fix missing each when looping through extra hostanmes