Changed way to find checkout dir