Use a resource guard instead of vanilla Ruby

More Chef-like, and ensures the resource exists, even if it’s not
acted on