make sure that the white space is stripped from image_id
make sure that the white space is stripped from image_id

otherwise it doesn't fit into the 36 char db field.

Change-Id: I452fc6927b3f21fd358a886b7831e533839ad6a6

openstack/solum,gilbertpilz/solum,stackforge/solum,stackforge/solum,devdattakulkarni/test-solum,gilbertpilz/solum,openstack/solum,gilbertpilz/solum,gilbertpilz/solum,ed-/solum,ed-/solum,ed-/solum,ed-/solum,devdattakulkarni/test-solum