Also unset remote_location if changed.