143e044 Don't iterate over a NULL strv

Authored and Committed by mclasen 11 years ago
    Don't iterate over a NULL strv
    
    sd_seat_get_sessions is documented as 'may return an empty array
    or NULL', so we should be careful to not crash if it _does_ return
    NULL.
    
    Coverity complained about this.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=689376