[#52118601] Fix condition for Puppet 2.7

It appears that 2.7 renders a `nil` fact to something that satifies neither
`!$var` or `$var == ''`. However interpolating it in a string does result in
an empty string, so I'm going use that as a fallback.