Fix error when creating branches on pull.