[Compass-ci] [PATCH v2 lkp-tests] tests/build-pkg: fix syntax errors caused by replacement