Prevent segfault if no version data retrieved from server.

Check that we really read new version string. Silently exit if not.
Merge pull request #2 from denispokataev/master

Prevent segfault if no version data retrieved from server.