* vc/vc-git.el (vc-git-registered): Use cache property