git-svn: control destruction order to avoid segfault