The Add-your-machine page sent the typed name only to the worker key, while the copyable command hard-coded --worker-name my-machine, so every self-service worker registered as my-machine regardless of what the user entered. Thread the name into the command (shell-quoted; falls back to my-machine when blank).