rebase --skip: correctly wrap-up when skipping the last patch