CLOUDIFY-1806 fixed. Make a remote call to getStorageApi() only when a storage template is defined