This randomly breaks some ppl on Windows. Revert "LPS-47337 Do not cache artifacts that come from local repositories"

This reverts commit ce5bb7dc863884991d790a30715520ca8b34c5a0.