Fix broken branch regex