Error out when no directory is passed to create.