Fix the branch mapping detection to be independent from the order of the "p4 branches...