Always ensure objects exist before using it

Not checking the result of download(), chaining json load() and pop()
without checking the result of these calls...
Here are the foolishnesses that lead to many tracebacks and spoiled my
exaile experience lately !