Fix FileSystem handling of empty path

If CargoToml is used to parse a relative path with single component, i.e. Cargo.toml, then the filesystem might raise the error "No such file".

Supersedes !28 , cc @kornelski

This is originally discovered in https://github.com/cargo-bins/cargo-binstall/issues/2453

Merge request reports

Loading