Switch the cases so you don't need to make use of ```if not```:

```ruby
if stproxy_rhost.empty?
else
end
```