Handle nil terminals in Clusters::Platforms::Kubernetes Closes #55551 See merge request gitlab-org/gitlab-ce!23925 (cherry picked from commit 6b02f502) 6d4c2529 Handle nil terminals in Clusters::Platforms::Kubernetes