That's fine.  The point is to do the `if host` check once, not twice.