Properly handling files not in a repo