init: fixed creation of repo directory