`#local_relation` can infer from kvs and ops, like `#relation`.

This also makes the error handling behavior across the two methods
more homogenous.