Fix views for node-local databases

Simple fix matches on `<<"shards/", _/binary>>` to detect if it should
use a Fabric call or open a local database.

BugzId: 14565