fix: Fail deploy script if unable to generate primary_identifier
Since we will soon rely on metadata.primary_identifier
for all rules
to properly map IDs we should ensure the field exists and disallow a
failure to properly generate dist
configurations
Relates to https://gitlab.com/gitlab-org/security-products/analyzers/semgrep/-/issues/126