Use getcwd instead.