MP1-4090 : Fix Thumbnail check without path (It will solve Trakt and third party plugins on '#selectedthumb' in skin.)
Cleanup code and fix leftover temp generated thumb files.