fix for the import process
Created by: jackeri
This change allows the import process to import group and user repositories and also fixes the import on base path repositories.
Before the fix the repositories that were placed on the gitlab repo path were set to the administrator but got recreated as empty repositories inside the administrator user folder(there are multiple tickets on this). Also if the to be imported repository was placed in an already existing group or user folder (inside the gitlab repo path) the import would fail. This is now fixed and the repositories get imported even if the group/user already exists and the right owner (of the group/user account) gets also the owner rights to the imported repository.
One of the issue tickets was #3693 (closed)