fixup remote-repo pre-check