fix could not remove /var/cache/pacman/pkg/tmp: Is a directory bug