With recent changes to support branching for commits, new coming data will be with branch property in datastore. However old ones are with null.
We need to refresh old historical data to be with master branch, instead of null.
An intermediate issue: #52692.
A following clean-up is needed for queryRecentCommits in cocoon backend.