Revert "Use last created build to determine status image"

This reverts commit 1b427c8e24fa2a2dabfef47d5eb8e4b1f21287cd.
Revert "Only set repository.last_build for last build on default branch"

This reverts commit 68c1088944b73ea174aa667401e70621f0df72e8.