Add assets.cache_package_paths and unit test.