If you try to clone ssh://gitroot.dev it will fail but ssh://gitroot.dev/ will give you root.
ssh://gitroot.dev
ssh://gitroot.dev/
Maybe it’s the algo in ssh which don’t give root when path is empty?