Revert "Minor cleanup of openstack-protect script"
The "Minor cleanup" ended up breaking the script entirely as the
image list array is not correctly created causing invalid image
name to be passed to the openstack command.
Also adds some code to strip double quotes from the prefix and suffix
if there are any.
This reverts commit
b03a1792362654ad8fcd15092a64ed00f8509209.
Change-Id: Id4f734113d6dede7e7603f85784b46d164b91392
Co-authored-by: Aric Gardner <agardner@linuxfoundation.org>
Signed-off-by: Thanh Ha <zxiiro@gmail.com>