Fix handling of unexpected files in AssetModel
The AssetModel class was designed with a clean prefix in mind. If for some reason a rogue file is created outside the prefix architecture, this would generate an error.
This patch fixes this by ensuring that only the folders are parsed when it makes sense.
Fixes #233 (closed)