speed up querying build results
speed up querying build results

If the repo is not building, we don't need to query the percentage at all.
And if we do, we can query the summary to avoid creating and parsing a lot
of XML

openSUSE-Team/obs_factory,openSUSE-Team/obs_factory,k0da/obs_factory,ancorgs/obs_factory,openSUSE-Team/obs_factory,k0da/obs_factory,ancorgs/obs_factory,k0da/obs_factory