[PATCH v2 3/4] ci: Wrap complex commands in CI scripts.