Improved default value handling in RtlQueryRegistryValues().