Check for no `Cmd` on exec create endpoint

Fixes #9414

Noticed when I don't post any data to exec create I still get a 200 status code back, which is weird.
This can be just `len(cmd) == 0`