Improve Subversion repository detection