Fixed an issue which caused version.json to be set before downlodaing
mods.