Checkout master at end.