fix remote-repo handling