removes unnecessary jobs from the clean-local rule