fix problem with 'cancel' on repo rename