When a caller passes the user's own instance origin (e.g. from an invite snapshot's spaceInstanceOrigin), strip it to undefined before the remote branch so the local api path is taken instead of erroneously failing with NotConnectedError. Mirrors inviteParser's identical normalization.