Make git reflog expire honour core.sharedRepository.