Don't fail doc builds when not in git repository.