svn4idea plugin, IDEA-96825: consider the "longest" (most specific) path...

Fix for http://youtrack.jetbrains.com/issue/IDEA-96825.