[JENKINS-23146] Handle changes to folder checked out to '.'
Merge pull request #93 from daniel-beck/JENKINS-23146-2.4.x

[JENKINS-23146] Handle changes to folder checked out to '.'