AbstractFile.getDirectory does not return null when outDir is "."