fixed a segv if version file download fails.