[pacman-dev] [PATCH] _alpm_run_chroot: only close working directory if it was opened