Fix Empty Response for Pipeline Security Summary
This MR handles the case when the GraphQL endpoint returns null / no response.
This was discovered while verifying #224687 (closed) for the pipeline - https://gitlab.com/gitlab-org/security-products/dast-testing/-/pipelines/172331055/security