[Compass-ci] [PATCH lkp-tests 2/2] lib/env.sh: refactor set-env