This is useful outside doing actual image uploads, so get_undercloud_registry is now a standalone function with some unit testing. Change-Id: Ida47d14530d3ed86c30929d62f29e3c13b040178 Blueprint: container-prepare-workflow