Fixed crash when required command line parameters were missing