Rolled back changes for empty host in URLs