Parse missing type message properly, fixes #166