Better check for a successful build

Because now that logs are put in before we check, the placement of the
Success line could be a bit different.