better git errors, and always print test dirs