fix repo/folder lookup