Checkout dir as argument