git-remote rm: add tests and minor fix-ups