Fix pwd for building slug.