svn-hooks: fix notification email logic