ktbs: fixed bug in renaming contexts in ktbs-rebase