build: auto-stash if removing old  branch fails