#1702: Fixed potential NPE in kube/docker plugin