Artwork cache is never wiped, leading to infinite growth

We need to make sure the DB is always correctly initialized before we
trigger any action. When running the scanner, this had not happened
before wipe was called, thus skipping this task.