Add a check before deleting temp directory

The 'rmtree' on temp directory fail on new install (folder doesn't exist).
Tested on :
- Fresh Kodi install : OK 
- Update from Xbmc : OK