Improve python p.a.c.k.er detection, fix #479