[pacman-dev] [PATCH] Rework scriptlet tests to not depend on pacman output