For that matter, I don't think we would even need to do the conversion if `ref` is a symbol. `findresource` is an alias of `Puppet::Resource::Catalog#resource`, which does a match on `ref`, which works fine:

```
[1] pry(main)> :sym =~ /s/
=> 0
```