dirstate: fix a potential traceback when in `copy` and `rename`

Merge request reports

Loading