fix for #713, match branches with wildcard