fix version_info if version can not be determined
fix version_info if version can not be determined

The current implementation assumes that the version info can be split
into at least three parts using the period as delimiter. In certain
situations, such as running from a dowloaded release archive, or when
building from a git checkout that does not have any tags, this
assumption does not hold.

Fixes: #6125

IntelLabs/numba,stuartarchibald/numba,cpcloud/numba,stuartarchibald/numba,sklam/numba,cpcloud/numba,numba/numba,stonebig/numba,IntelLabs/numba,cpcloud/numba,cpcloud/numba,seibert/numba,stonebig/numba,gmarkall/numba,seibert/numba,stuartarchibald/numba,sklam/numba,gmarkall/numba,sklam/numba,numba/numba,stuartarchibald/numba,sklam/numba,IntelLabs/numba,IntelLabs/numba,gmarkall/numba,numba/numba,seibert/numba,numba/numba,gmarkall/numba,stonebig/numba,gmarkall/numba,numba/numba,sklam/numba,IntelLabs/numba,stonebig/numba,cpcloud/numba,stuartarchibald/numba,stonebig/numba,seibert/numba,seibert/numba