When the git-worktree call exits with an error we can delete the temporary directory as nothing is in it.
git-rebase-add-stash