Adding these try/except blocks to handle when the index tables are not present (due to failure during rebuild or other issue).
Only update pbar if it is specified. Don't just return self.updateCacheTables() generator, but yield each value from it (I think this is the right thing to do).