Check if the directories exist (otherwise tar starts to cry like a baby).