Fix mix-up between v1 and v2 glance API

Change-Id: I1050055bfc9e5fc97743e7fa24ac0a731aaebeef