Fix renaming error throwing exception in checkout-head-revision command