avoid unnecessary exception
avoid unnecessary exception
fix bug where segmented paths (e.g. "a.b.c") could cause exception if earlier parts are null
improve debug logging