Fix 'kube apply' panic on nil items

Bug 1146024 - https://bugzilla.redhat.com/show_bug.cgi?id=1146024
you mean in tests in general, correct?