[PATCH 3/6] Pass a path (not a name) to devicePathToName.