Fix pkd_hello test to work when executed in parallel
The pkd_hello tests sometimes fail both in the CI here as well as in downstream or during build. AFAIK this is caused by the tests being executed in parallel and the test not using temporary directories to store its data. This would be good to have fixed to make the pipelines more predictable.