Fix always marking builds as passed