Add PkgOption type to the Python wrappers