Fixes a race condition between the repo updates triggered for the 1.x and 2.x
repos which caused the 1.x versions to be unavailable