Editor crashes when blogname is nil

Fixes #1349