Build the prefixed prefix for list/delete operations. Same logic as key — exposed separately for readability at call sites.
String prefix(String path) => keyPrefix != null ? '$keyPrefix/$path' : path;