Fix error due to pathlib

1 job for dev-irma in 28 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Test
passed #26330
docker
test

00:00:28