Move parts of _load_revision to a new _load_directory method.
Can't show this merge request because the source branch generated-differential-D3797-source is missing from project swh/devel/swh-loader-core. Close this merge request or update the source branch.