Merge "Fix doc build if git is absent"