I'd prefer this use `Dir.exist?` since we expect it to be a directory.  (They are equivalent but `Dir.exist?` seems more semantically correct).