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>