Instead of calling `uninstall` twice, you should do

```ruby
uninstall :kext => 'com.prolific.driver.PL2303',
          :pkgutil => "com.prolific.prolificUsbserialCableDriverV#{version.gsub('.', '')}.ProlificUsbSerial.pkg"
```