info printer BUGFIX properly restrict return node types
info printer BUGFIX properly restrict return node types

Fixes #358

PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang