[PATCH v2] alpm_run_chroot: Fix the execution of pacman hooks