[Bug 49175] Duplicated checking canonicalized inside kernelbase/path.c