Better error messages for the namespace argument - issue #1257

Work around when the first arg to '-m' is -1

When seemingly valid arguments are given for non existent classes,
return a meaningful error message.

@hyPiRion is the owner of the issue