fix a local_repo filepath bug