CPack/NuGet: Add support for repository tag

Fixes: #23703
2 files changed