Panic if there is no slash or dot in namec

Because that's just wrong.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>