conf: create-endpoint.lua: make sure endpoints always have a valid name

2 jobs for lua-endpoint-fixes in 1 minute and 10 seconds
Status Job ID Name Coverage
  Container
passed #6862867
container_fedora

00:00:17

 
  Build
passed #6862868
build_on_fedora

00:00:52