Fix segfault in the very rare case when we are not able to find the rootnamingcontext