fix ci bug which created a datadirectory with a relative path