fix list index error when detecting subversion project
v2.1.6