web: Correctly check client channel for validity.
web: Correctly check client channel for validity.

It might also be null.

Reviewed-by: Stef Walter <8a7fbf0f15d3ad982af54ef28f5c117d2494b76c@redhat.com>

larsu/cockpit,matobet/cockpit,darioajr/cockpit,deryni/cockpit,SotolitoLabs/cockpit,vanloswang/cockpit,garrett/cockpit,Thermionix/cockpit,Thermionix/cockpit,cockpit-project/cockpit,garrett/cockpit,moolitayer/cockpit,deryni/cockpit,firebitsbr/cockpit,moraleslazaro/cockpit,arilivigni/cockpit,dperpeet/cockpit,andreasn/cockpit,moraleslazaro/cockpit,andreasn/cockpit,netzvieh/cockpit,petervo/cockpit,nmav/cockpit,arilivigni/cockpit,deryni/cockpit,evol262/cockpit,larsu/cockpit,evol262/cockpit,fridex/cockpit,cockpit-project/cockpit,evol262/cockpit,martinpitt/cockpit,fridex/cockpit,maxamillion/cockpit,SotolitoLabs/cockpit,kkaempf/cockpit,sub-mod/cockpit,SotolitoLabs/cockpit,FireDrunk/cockpit,darioajr/cockpit,dperpeet/cockpit,denysvitali/cockpit,FireDrunk/cockpit,Scribery/cockpit,michalskrivanek/cockpit,mvollmer/cockpit,fridex/cockpit,Armstrong1992/cockpit,Scribery/cockpit,haiyangd/cockpit_view,deryni/cockpit,sgallagher/cockpit,fridex/cockpit,cockpituous/cockpit,cockpituous/cockpit,kkaempf/cockpit,moraleslazaro/cockpit,moolitayer/cockpit,sgallagher/cockpit,harishanand95/cockpit,cockpituous/cockpit,garrett/cockpit,larskarlitski/cockpit,mvollmer/cockpit,mvollmer/cockpit,martinpitt/cockpit,stefwalter/cockpit,martinpitt/cockpit,Armstrong1992/cockpit,kkaempf/cockpit,Thermionix/cockpit,FireDrunk/cockpit,jscotka/cockpit,petervo/cockpit,sgallagher/cockpit,larsu/cockpit,harishanand95/cockpit,dperpeet/cockpit,dperpeet/cockpit,cockpit-project/cockpit,matobet/cockpit,maxamillion/cockpit,mvollmer/cockpit,michalskrivanek/cockpit,stefwalter/cockpit,zigitax/cockpit,mareklibra/cockpit,haiyangd/cockpit_view,sgallagher/cockpit,deryni/cockpit,netzvieh/cockpit,larskarlitski/cockpit,deryni/cockpit,netzvieh/cockpit,jscotka/cockpit,vbatts/cockpit,darioajr/cockpit,Thermionix/cockpit,mareklibra/cockpit,netzvieh/cockpit,maxamillion/cockpit,Scribery/cockpit,stefwalter/cockpit,vbatts/cockpit,sgallagher/cockpit,firebitsbr/cockpit,mareklibra/cockpit,zigitax/cockpit,maxamillion/cockpit,mareklibra/cockpit,garrett/cockpit,mvollmer/cockpit,vbatts/cockpit,fridex/cockpit,sub-mod/cockpit,andreasn/cockpit,SotolitoLabs/cockpit,andreasn/cockpit,arilivigni/cockpit,vanloswang/cockpit,nmav/cockpit,Scribery/cockpit,firebitsbr/cockpit,sub-mod/cockpit,zigitax/cockpit,andreasn/cockpit,cockpituous/cockpit,larsu/cockpit,vanloswang/cockpit,darioajr/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,moolitayer/cockpit,haiyangd/cockpit_view,moolitayer/cockpit,nmav/cockpit,haiyangd/cockpit_view,dperpeet/cockpit,fridex/cockpit,zigitax/cockpit,arilivigni/cockpit,larskarlitski/cockpit,nmav/cockpit,xhad/cockpit,SotolitoLabs/cockpit,andreasn/cockpit,firebitsbr/cockpit,larskarlitski/cockpit,matobet/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,martinpitt/cockpit,deryni/cockpit,firebitsbr/cockpit,cockpituous/cockpit,larsu/cockpit,michalskrivanek/cockpit,michalskrivanek/cockpit,FireDrunk/cockpit,evol262/cockpit,arilivigni/cockpit,jscotka/cockpit,Armstrong1992/cockpit,haiyangd/cockpit_view,xhad/cockpit,netzvieh/cockpit,xhad/cockpit,andreasn/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,vbatts/cockpit,denysvitali/cockpit,matobet/cockpit,jscotka/cockpit,kkaempf/cockpit,Armstrong1992/cockpit,mareklibra/cockpit,vanloswang/cockpit,jscotka/cockpit,petervo/cockpit,cockpituous/cockpit,nmav/cockpit,harishanand95/cockpit,FireDrunk/cockpit,denysvitali/cockpit,SotolitoLabs/cockpit,kkaempf/cockpit,dperpeet/cockpit,larskarlitski/cockpit,stefwalter/cockpit,mareklibra/cockpit,xhad/cockpit,Scribery/cockpit,zigitax/cockpit,evol262/cockpit,michalskrivanek/cockpit,vanloswang/cockpit,larskarlitski/cockpit,moraleslazaro/cockpit,petervo/cockpit,stefwalter/cockpit,xhad/cockpit,harishanand95/cockpit,petervo/cockpit,moolitayer/cockpit,harishanand95/cockpit,dperpeet/cockpit,harishanand95/cockpit,xhad/cockpit,garrett/cockpit,stefwalter/cockpit,Scribery/cockpit,Scribery/cockpit,michalskrivanek/cockpit,maxamillion/cockpit,netzvieh/cockpit,matobet/cockpit,vanloswang/cockpit,arilivigni/cockpit,Armstrong1992/cockpit,cockpit-project/cockpit,denysvitali/cockpit,larsu/cockpit,xhad/cockpit,Thermionix/cockpit,matobet/cockpit,sub-mod/cockpit,jscotka/cockpit,vbatts/cockpit,petervo/cockpit,cockpit-project/cockpit,arilivigni/cockpit,darioajr/cockpit,denysvitali/cockpit,sgallagher/cockpit,vanloswang/cockpit,petervo/cockpit,vbatts/cockpit,michalskrivanek/cockpit,mareklibra/cockpit,martinpitt/cockpit,Thermionix/cockpit,sub-mod/cockpit,evol262/cockpit,sgallagher/cockpit