mkpatch: fix determination of svn URL from working copies