If the registry key for GnuPG exists under HKCU, so for the current user but does not have any values or unrelated values the registry key under HKLM is ignored.
So if one sets a HomeDir entry under the HKLM key but no HomeDir under HKCU the homedir setting is ignored.