Fix to prevent seg fault when using registry

The load mechanism is different for registry and files. I didn't
originally realize the registry would not be compatible with the
Xresources load mechanism. This caused a seg fault when loading from
registry. This has now been fixed (at the expense of Xresources only
loading on top of files.