[Patch 1/6, v2] ntdll: fix RtlCheckRegistryKey when called with parameter pathbeing null or empty