add path checks for repo