path BUGFIX support for LYB, same as JSON
diff --git a/src/path.c b/src/path.c
index 0f34aa4..94f3d21 100644
--- a/src/path.c
+++ b/src/path.c
@@ -437,6 +437,7 @@
             *mod = cur_mod;
             break;
         case LY_VALUE_JSON:
+        case LY_VALUE_LYB:
             if (!prev_ctx_node) {
                 LOGINT_RET(ctx);
             }
@@ -445,7 +446,6 @@
             break;
         case LY_VALUE_CANON:
         case LY_VALUE_XML:
-        case LY_VALUE_LYB:
             /* not really defined or accepted */
             LOGINT_RET(ctx);
         }