Improve abort_in_progress_builds_for_branch