refactor(datastore): use safe CreateOrFindByPath in importer

With !795 (merged) and !796 (merged) it is now safe to call CreateOrFindByPath without incrementing primary keys for repositories and top-level namespaces. This MR refactors the importer to call this function, instead of FindByPath then CreateByPath seperately.

Merge request reports

Loading