patch: don't create taxonomy entries if the category is not specified

otherwise an exception would be raised

closes #333