Revert "Fix local caching for kpm"

This reverts commit bb0dc8ef422c94dee521cbca3f086738f508469c.