try to recover from a bad clone or git repo