kubernetes: Fix invalid use of variable before declaration
kubernetes: Fix invalid use of variable before declaration

This is a real error condition caught by the new jshint checks
in the following commit.

harishanand95/cockpit,mvollmer/cockpit,Scribery/cockpit,vanloswang/cockpit,sgallagher/cockpit,petervo/cockpit,larskarlitski/cockpit,mareklibra/cockpit,Scribery/cockpit,mareklibra/cockpit,cockpituous/cockpit,larsu/cockpit,dperpeet/cockpit,cockpit-project/cockpit,cockpituous/cockpit,arilivigni/cockpit,SotolitoLabs/cockpit,larskarlitski/cockpit,petervo/cockpit,cockpituous/cockpit,deryni/cockpit,xhad/cockpit,sgallagher/cockpit,cockpit-project/cockpit,mareklibra/cockpit,andreasn/cockpit,vanloswang/cockpit,mvollmer/cockpit,sgallagher/cockpit,arilivigni/cockpit,michalskrivanek/cockpit,michalskrivanek/cockpit,Scribery/cockpit,martinpitt/cockpit,vanloswang/cockpit,deryni/cockpit,michalskrivanek/cockpit,vanloswang/cockpit,harishanand95/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,andreasn/cockpit,vanloswang/cockpit,larsu/cockpit,martinpitt/cockpit,sgallagher/cockpit,larskarlitski/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,petervo/cockpit,andreasn/cockpit,garrett/cockpit,sgallagher/cockpit,cockpituous/cockpit,harishanand95/cockpit,mareklibra/cockpit,stefwalter/cockpit,xhad/cockpit,cockpit-project/cockpit,deryni/cockpit,moraleslazaro/cockpit,xhad/cockpit,dperpeet/cockpit,Scribery/cockpit,larsu/cockpit,Scribery/cockpit,garrett/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,arilivigni/cockpit,moraleslazaro/cockpit,martinpitt/cockpit,arilivigni/cockpit,xhad/cockpit,petervo/cockpit,SotolitoLabs/cockpit,harishanand95/cockpit,xhad/cockpit,deryni/cockpit,mareklibra/cockpit,deryni/cockpit,xhad/cockpit,garrett/cockpit,cockpituous/cockpit,stefwalter/cockpit,stefwalter/cockpit,stefwalter/cockpit,stefwalter/cockpit,mareklibra/cockpit,martinpitt/cockpit,arilivigni/cockpit,dperpeet/cockpit,vanloswang/cockpit,petervo/cockpit,cockpit-project/cockpit,deryni/cockpit,dperpeet/cockpit,harishanand95/cockpit,arilivigni/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,xhad/cockpit,dperpeet/cockpit,garrett/cockpit,Scribery/cockpit,petervo/cockpit,arilivigni/cockpit,moraleslazaro/cockpit,Scribery/cockpit,andreasn/cockpit,harishanand95/cockpit,garrett/cockpit,larskarlitski/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,dperpeet/cockpit,moraleslazaro/cockpit,martinpitt/cockpit,andreasn/cockpit,larskarlitski/cockpit,petervo/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,michalskrivanek/cockpit,vanloswang/cockpit,deryni/cockpit,SotolitoLabs/cockpit,andreasn/cockpit,moraleslazaro/cockpit,michalskrivanek/cockpit,sgallagher/cockpit,harishanand95/cockpit,larsu/cockpit,mvollmer/cockpit,cockpit-project/cockpit,mvollmer/cockpit,mvollmer/cockpit,stefwalter/cockpit,larsu/cockpit,andreasn/cockpit,mareklibra/cockpit,stefwalter/cockpit,dperpeet/cockpit,larsu/cockpit