local repository dir must be set