pkg/store: corrupted tars from git are ignored
Created by: keegancsmith
In some cases gitserver would return a corrupted archive. It seems this would be an ephemeral issue. This would cause searches to fail. However, it should be treated as a temporary error. This change ensures the failure is marked as temporary, leading to the graphql layer to not fail the full search.
Test plan: unit tests, forcing corrupted error (like the test) and running a search in dev mode.
Fixes https://github.com/sourcegraph/sourcegraph/issues/3799