[JENKINS-18574] Fixes for multiple locations in same repo

(cherry picked from commit 08ed6c99c7d762b32243bf3121f08b4229e98c8b)
[maven-release-plugin] prepare release subversion-2.4.2