I copied pkgdmg.rb from puppet-skydrive