Below it has a similar conditional that is inverted (`return nil unless response` rather than `return nil if response.nil?`).  I think I'd prefer to do the same here, to keep it consistent:

``` ruby
return nil unless env.status
```