Memoize `Twig::Branch.all_branch_names`