Actually check the branch pattern to match gitjira created ones