Validate head as array before parsing the branch