Fix a regression from the file repo stuff.