CLOUDIFY-1918 Fixed the test to be compatible with the new rest client output in case of failure in uninstall-application command.