overhaul repo_find, fix symlinking