path BUGFIX allow inner lists without predicates

In case not a single target is expected.
diff --git a/src/path.c b/src/path.c
index 38cb92c..1b2496c 100644
--- a/src/path.c
+++ b/src/path.c
@@ -781,7 +781,8 @@
 
     do {
         /* check last compiled inner node, whether it is uniquely identified (even key-less list) */
-        if (p && (lref == LY_PATH_LREF_FALSE) && (p->node->nodetype == LYS_LIST) && !p->predicates) {
+        if (p && (lref == LY_PATH_LREF_FALSE) && (target == LY_PATH_TARGET_SINGLE) &&
+                (p->node->nodetype == LYS_LIST) && !p->predicates) {
             LOGVAL_P(ctx, cur_node, LYVE_XPATH, "Predicate missing for %s \"%s\" in path.",
                     lys_nodetype2str(p->node->nodetype), p->node->name);
             return LY_EVALID;