Check for the existence of theme.assetPaths before iterating