Fixed a bug where builders with multiple codebases were being updated when they shouldn't

We are now making sure that each codebase is found in the keys (one by one) before updating the cache