[JENKINS-18574] Fixes for multiple locations in same repo
Merge pull request #85 from daniel-beck/JENKINS-18574-2

[JENKINS-18574] Fixes for multiple locations in same repo
[JENKINS-23146] Handle changes to folder checked out to '.'

(cherry picked from commit 3df6c0b32db52e275ff6158b93e2022c0067625c)