Add repair steps for legacy config files

Remove all ports from the trusted domains