OTRS 6 CE Migration: Validation failed: Name contains invalid path (ActiveRecord::RecordInvalid)

Yes, there is one nested group in our OTRS setup.

I digged into the details and enabled query logging.
I’ve seen that there are queries for group names of our OTRS groups which does not exist in the Postgres database at this point. None of our groups were migrated.

As a quickfix I created the groups in the WebUI and re-tried the import successfully.