Catch NPE on unknown context

Issue #7. If a context from the idms was not found in the configuration
the search for it would cause an NPE. Now it catches and notes the fact
with a WARN statement.