add update hook to remove empties #3382

#3382 

### Changes

Now, after running updates, there should be no empty directives in robots.txt.

#### Unrelated changes

Fixed an undefined global constant with the string literal it was intended to be.