I would `shell = ['-s', '/bin/sh'] if Facter...` on one line. The splat on a nil variable is valid, as long as the variable is defined, i.e. this works:
``` ruby
bar = 1 if false
foo = *bar
puts foo
[]
```