fix #4302: unpublished caches not recognized