Bugfix: Incorrect error message on empty name