```ruby
payload_path = datastore["PATH"] || expand_path("%TEMP%")
```