rescue from git errors