Add yum and git config fixes

These are the same fixes committed to Eucadev for handling yum and git timeouts.