svnperms.py: fix bug, alter message, and add tests