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