Only run cluster submission when --distributed is enabled.