Avoid appending the domain if already present.