Make IO::Path.new(:directory) work (again)

It's all in which the candidates are listed.