extract notSupportedBranchName function