Attempting to fix bug related to reading the protocol from a repository.  Untested....