build-tracker: fix consecutive build count reset
Created by: burmudar
After one failure, I noticed that ALL failures would report their first failure as their second consecutive failure. This happened because after a pass the consecutive failure count was set to 1 instead of 0.
Test plan
Unit tests