gen-scripts: really handle no args

We still need to pass the path to the OMERO directory
to the Java script generator either way.

And let's also handle the case of "gen-scripts --all"
or other flags without the OMERO directory, too.