Make sure this is a directory.