check GIT_SVN_USERNAME only once before pre hook

In case the pre hook runs any git-svn commands.
tag 0.0.9