Merge pull request #960 from jvijtiuk/libyang2-fix-moveto_resolve_model-null-dereference

libyang2: yang parser BUGFIX null dereference in moveto_resolve_model