Why does pytest show wrong relative paths when fixture changes working directory?