refactor LocalSpec#remote.