Fixed problem when returned host name differs in case from the created
ones