Build hanging after repository cache update error

Hi Michal,

Version 1.9.2.1423 includes some changes to prevent the build hanging in the scenario.