Creating an image doesn't need openstack_rest module.
Removed unused modules.