Make sure starting directories are actually directories.