cluster: set proper error if we fail to locate a node.

This could happen if read preferences prevent finding a suitable node.