Check out in the correct directory