branch: exit status now reflects if branch listing finds an error