Check if resource exists before removing after tests

What does this MR do and why?

Checks if a resource still exists before trying to delete it.

Fixes #351620 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Mark Lapierre

Merge request reports

Loading