prevent RegistryStore from crashing with malformed data