JENKINS-4369 Fix - Workspace relocation check false positivities

Hi, here is a fix for issue https://issues.jenkins-ci.org/browse/JENKINS-4369