Revert "partial-copy: remove unused refs"

This reverts commit 412d9ab8e19b691683c5003ce40a117aa86d74b9.

For some reason, this seems to break tags in partially copied repo.
(Perhaps just a config issue, but for now, revert that commit)