fix upstream branch creation