Fixed typo in the getattr error message.