Fix packages test for CI env.