Throw error when updating meta for a missing post

Fixes #1541