Fixed that `current_branch` was undefined.