Protection for update-rc.d errors