Use the varialbe to export right keystone api version

Change-Id: I1e8ea2b7173c549065ed1f08814eb4b4bb2f05cd
Fixes: Bug #1217783
Merge "Use the varialbe to export right keystone api version"