generate-reprepro-codenam: avoid endless loop on wrong usage

If the user invokes generate-reprepro-codename with options
'--origin Foo' 'reposname' then we end up in an endless loop.
Instead abort and inform the user about the wrong usage.