[pyparted] fix partition lookup by path on disk files