Fix TISTUD-5221: handle branch removal error appeared while importing the sample.