Check that the metadata is there before trying to remove it at another server's request
Forbid empty metadata more explicitly
Have the AWAY command code more explicitly understand and handle metadata restrictions