Fix host name (use path from hosts configs)