Initialize repository if it does not exists