Abort early when we can't fetch the version number

Rare, but happens.

Change-Id: I083282d0a8cc523be94003f8ea4e54b24fe73c85