Minor code consistency improvement.
Removed unneeded exception. Renamed load.repository() to load._repository().