Fix the branch column of pipeline list
Created by: mangoGoForward
What type of PR is this?
/kind bug
What this PR does / why we need it:
Number of branch should not be 0 if the Pipeline is not a multi-branch Pipeline
Which issue(s) this PR fixes:
Fixes #2499 (closed)
Does this PR introduced a user-facing change?
None