You can easily reduce code complexity here by doing:

```ruby
unless id
  print_error("F5 SLB cookie not found")
  return
end

blah blah
```