CLOUDSTACK-4433:[VMware]Registration of template using the downloaded
template URL is failing.
(cherry picked from commit 885a161b62f985dd83c95f4524af4823cc261043)

Signed-off-by: animesh <animesh@apache.org>
Merge branch '4.2' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.2
CLOUDSTACK-770 ntier review comments
CLOUDSTACK-770 ntier review comments