make makedist.sh work for git instead of svn