Fixed JUnit tests for JENKINS-24133 on Windows
Merge pull request #274 from pbaranchikov/detachedSha1

Fixed JUnit tests for JENKINS-24133 on Windows