Issue #3156222 by yas: Fix an Internal Server Error "Call to a member function addError() on null in Drupal\k8s\Service\K8sClientExtension\K8sClient->sendRequest()"