Fix cannot guess tmp dir error of ladle