reset broken build flag when reverting
Merge pull request #3691 from dimagi/revertbroken

reset broken build flag when reverting