Support TreeEntry.Target for gitlink entries