34c549feb8
Historically, Portage + Py2 were not dealing well with file paths that were containing non-ascii chars. The situation has apparently improved and we are able to accept paths with the correct encoding in Entropy (separate patch will come). We need to guard against broken paths anyway, so let's try to check which one of the paths is the one that has the most chance to be the right one. Also, with python3 this won't be a problem anymore...