Homogenize getPath() result
style