Fix shellescape for nil