Fixed issues with non name or path.

We can now pass empty arrays to the asset loader.

[Branch: development]