Fix git output to be rpm-friendly