[OE-3301] fixed hosts file parser when the server has an alias