Enable workaround for lists of branches > 30

This is a workaround only, and only works for up to 100 branches.
Proper pagination support would be best.