Prevent ordereddict installation on 2.7

This supports https://review.openstack.org/#/c/48475/ in glance
to remove copy/pasted ordereddict code.

Change-Id: I9b0a2588c6e7da86c048698c5e6dfe37ced4dd7f
Merge "Prevent ordereddict installation on 2.7"