pub fn looks_like_path(arg: &str, extensions: &[&str]) -> bool
Determine whether a chain/cut argument looks like a file path (as opposed to a package name).