[openstack|image] strip unused headers in #update_image

* update tests to pass both live and mocked