[widgets][assetwidget] Don't load invalid asset

Fixes #232
2 jobs for 232_fix_handling_of_invalid_declaration in 23 minutes and 20 seconds (queued for 2 seconds)