A possible solution is described in the last comment of the first ticket:
I guess Foreman works in our case without that gsub-method, because we do not deploy VMs in subfolders inside die vSphere ressource-pool/cluster. So I would take this code-modification as “workaround”.
It “matches” with the described solution of the second issue to add a “to_s” which would result in a empty string result ("")
What are your thoughts? Should we go with the second solution to add a to_s?