[minor] Prefer eager returns to `if/else`.