[NPANDAY-505] support recursive registry lookups

Avoid NPE

git-svn-id: https://svn.apache.org/repos/asf/incubator/npanday/trunk@1608660 13f79535-47bb-0310-9956-ffa450edef68