get base path of repository