Fix error when version.json does not exist