Use path.exists()
instead of fs::metadata(path).is_ok()
#85044
Merged
path.exists()
instead of fs::metadata(path).is_ok()
#85044