Fixed JUnit tests for JENKINS-24133 on Windows

Error in tests, produced wrong repository URL (sent as ordinal OS file path).