Fixes bug where -jar and -cp were conflicting and breaking stagegroups