This is related with ticket 19717: "resolve() fails when the path
Assuming /home/cutecat exists but not /home/cutecat/aa,
what is the desired output of
Should it be:
"/home/cutecat" (the existed path only),
"/home/cutecat/aa" (the first non-existed path; my current strategy), or
"/home/cutecat/aa/bb/cc" (the default behaviour of os.path.realpath)?