It's called "Sun" in stock - "Kerbol" is a fan word. I agree it's not the right way to test this though. For some reason I couldn't just use:

```
if (body.referenceBody == null)
```

I'll look further into it. Certainly for now the code works on stock (that's what I play) - I used the FlightGlobals.Bodies list deliberately to hopefully work with RSS (which I've never tried, I'm not that much of a masochist).