Replace listNames with listFiles in testRepoFileExists(); trying to get a grip on #262