HPCC-10012 Add support for centos builds with -with-plugins variant

Base git checks on the tag name rather than the rpm name

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4906 from richardkchapman/tag-check

HPCC-10012 Add support for centos builds with -with-plugins variant

Verified by Chris
Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>