Fix the failure of fetching the version in cinder endpoint

To search for verion in cinder endpoint string, instead of using
hard code position

Implements: search for verion in cinder endpoint string
Closes-Bug: #1227307
Change-Id: Ie38806ad995e6fd49155f448abf9b2ef43f24a0e
Merge "Fix the failure of fetching the version in cinder endpoint"