Fixed refresh of persistent metadata-cache