fixed cancellation of deploy jobstates if module is disabled
removed obsolete deploy related code