URIManager: fix "single node reading" code

It was broken to start with. Put in better error messages as well.