git-svn: fix memory leak when checking for empty symlinks