Ignore git errors on checkout if checkout was successful.