CLOUDIFY-2259 Created the rest temp folder in local cloud, fixed initialization of upload repo to use the rest temporary folder and added logs.