Fixed handling of -b

It was storing the new branch in an unused global.