Make sure argument to putmany() is not empty.