Fix error in checkpatch script
move test for empty bio list outside loop