Only recreate avatar revisions if the avatar is present.

Closes #775