Use getValue() instead of getPath()

This prepares for jenkinsci/subversion-plugin#80