I think there is no need to assign virtual_path here. You are only using it to short circuit the loop so I guess you can do:

```ruby
next if payload[:virtual_path]
```