[Compass-ci] [PATCH lkp-tests] tests/build-pkg: fix to generate the directory of *.cgz file