common: Don't umount before cleaning package cache

The virtual FS got umounted before the clear_package_cache which was a
mistake as yum requires /dev to work.