Fixed access to root registry key

Fixed a small problem where it wouldn't find the root registry key in
the shell.