Minor findChildElemByPathEntry implementation cleanup