The udev script should use python's -s parameter (bug #1066101).
Switch installpackage.py to modern GI API.