This change on the endpoints is to ensure that the unit tests of glance v1 and v2 are valid. With this change in place, all the unit tests from the pull request  jclouds/jclouds-labs-openstack#77 should work properly.