Fix script fetching and local path handling in `inspect_dataset` and `inspect_metric`
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4433). All of your documentation changes will be reflected on that endpoint.
Fix #4348