BZ-1045537: this looks like a JGit issue, this fix is a woraround that forces clean internal cache. as this issues is windows only, the code just forces the clean if OS is windows.