Proposed change to Registry.Get function.

This allows the possibility that the session object could not be created at all. Eg database backend failure or hard disk failure for the FileSystemStore.