fixed gitinfo for some os