[BUGFIX] Ensure global assets array exists
Merge pull request #245 from bjo3rnf/assetsarray

[BUGFIX] Ensure global assets array exists