The -dumpSchema argument makes the program end early, so we should use the proper way we have of doing that instead of using exit (which causes a segfault with some compilers).
Also fix a wrong comment, and prevent Atlas from being started with -dumpSchema because the logic of both systems will conflict.