[tools 1/2] testbot/LogUtils: Fix handling of failures before the first test unit.