make /v1/catalog/node/<node> endpoint return 404 for non-existent nodes

Closes #387