lib-git-svn.sh: Move web-server handling code into separate function