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