Fix status when 2 branches are on the same commit
Fix status when 2 branches are on the same commit

Only the most recent job was taken into account even if it was
triggered for an other branch.

jeromerobert/gitlab-ci-sched