Fix missing captainhook section bug.
Fix block branches for py3.