[Bug: 21.4.16] wrong usage of cwd in package-tool