Bugfix: async refresh will rebuild local DS.

- if secKey is empty, assign nil to `EntryKey`.