Revert "path: Add some more validation points"
Revert "path: Add some more validation points"

This reverts commit e8fa85705e48d03742eb351addbad53be4d8e60b.

The validation broke the test suite; it'll need some more work.

Distrotech/json-glib,GNOME/json-glib,oerdnj/json-glib,Distrotech/json-glib,oerdnj/json-glib,brauliobo/json-glib,oerdnj/json-glib,oerdnj/json-glib,ebassi/json-glib,ebassi/json-glib,brauliobo/json-glib,Distrotech/json-glib,ebassi/json-glib,frida/json-glib,GNOME/json-glib,brauliobo/json-glib,frida/json-glib