The delete action tries to delete the folder containing the page's metadata, even when it doesn't exist.