[v25.x] lib: do not provide an empty Proxy from localStorage getter
Addresses the original regression in a way that is more consistent with the user experience in v24.x where no storage-related CLI arguments are passed. Access now warns and returns undefined in the case where the requisite path is missing.
As things stand, the behaviour will revert to exception-raising in v26.x; any discussion relating to this specifically should go in the associated issue, this PR is just to re-fix the regression for localStorage users in v25.
Refs: #60303
The https://github.com/nodejs/node/labels/notable-change label has been added by @Renegade334.
Please suggest a text for the release notes if you'd like to include a more detailed summary, then proceed to update the PR description with the text or a link to the notable change suggested text comment. Otherwise, the commit will be placed in the Other Notable Changes section.
CI: https://ci.nodejs.org/job/node-test-pull-request/70236/
CI: https://ci.nodejs.org/job/node-test-pull-request/70252/
Landed in c57a40c898c3