Add a branchPattern option.