reject empty name when creating snapshots