Add helper to read a string registry value.