Fix `git svn rebase` in case of top-level HEAD directory.