Detect existence of config.assets before using it