no need to change the dir back to the tempfolder
not every package has two repo-{x86_64,i686} folders
check curl return code