Fix handling of invalid declaration
Summary
This set of patches improves the handling of invalid assets stored correctly in the prefix.
It will show them but not allow to load them.
With the help of beat.backend.python!53 (merged)
Relevant issue(s) fixed
Fixes #232 (closed)