Check on schemes not stores
Check on schemes not stores

Since the `_upload` method loads the store based on the scheme, we need
to check whether the scheme exists in the known schemes instead of
checking in the list of known stores. Without this fix, stores with a
scheme name different than the store itself will not be usable through
the `x-image-meta-store` header.

Change-Id: Ia33afc1629cb47a31982df7932ac0d9aeb201b4f
Closes-bug: #1357462

kfwang/Glance-OVA-OVF,wkoathp/glance,vuntz/glance,jumpstarter-io/glance,scripnichenko/glance,dims/glance,stevelle/glance,takeshineshiro/glance,JioCloud/glance,dims/glance,takeshineshiro/glance,kfwang/Glance-OVA-OVF,openstack/glance,akash1808/glance,rajalokan/glance,rajalokan/glance,jumpstarter-io/glance,saeki-masaki/glance,saeki-masaki/glance,akash1808/glance,klmitch/glance,JioCloud/glance,sigmavirus24/glance,darren-wang/gl,redhat-openstack/glance,redhat-openstack/glance,sigmavirus24/glance,paramite/glance,openstack/glance,openstack/glance,stevelle/glance,wkoathp/glance,vuntz/glance,scripnichenko/glance,paramite/glance,darren-wang/gl,ozamiatin/glance,ozamiatin/glance,klmitch/glance