Fix checkout directories