pacman: Fix some issues.