The second parameter of makesourceversions is arch, not dist. Fix.