Add handling when duplicated branch cannot be created because a part of the name already exists as a branch