Protect against builds dict changing while we iterate

As we check for lost builds, the builds dict can change which throws
an exception.

Change-Id: I63d042d6b64fe8fb1a755da067df420d52c9eea5
1 file changed