SCALARIZR-1669 handle emtpy branch string