Made Path::name only have item name rather than full name
#134880
Merged
Path::name only have item name rather than full name
#134880