[PATCH 17/19] Aqcuire yum lock before doing the work of _yumCacheDirHack. (#858993)