fix(core): solve NPE when missing source type (#660)

Patch to avoid NPE such as in https://github.com/apache/camel-k/pull/2216

Ref #658
2 files changed