Use a resource guard instead of vanilla Ruby

More Chef-like, and ensures the resource exists, even if it’s not
acted on
Merge pull request #9 from evertrue/use-guard

Use an `only_if` guard instead of vanilla Ruby