fix bug: Not checking packet name duplication for empty packets

 - change error message