Help with upgrading imported (via dvc2.x) dvc data with dvc3.0

I’ve reproduced this (at least partially) with:

dvc import https://github.com/iterative/dataset-registry get-started/data.xml
rm -f data.xml data.xml.dvc
dvc import https://github.com/iterative/dataset-registry get-started/data.xml --no-download
dvc checkout -v

Also getting:

failed to create '/Users/ivan/Projects/test-dvc/data.xml' from '/Users/ivan/Projects/test-dvc/.dvc/cache/files/md5/fs/local/3a7b948ce2a36294f8c50df53f1f7c92' - [Errno 2] No such file or directory

I’m not sure if those are all the bugs in this scenario, but this behavior looks unexpected to me.