Handle corrupted commit object correctly.
[server] Don't gc blocks if some repos are corrupted.