Fix dup repo on bad cache read