Fix confusion between __getattr__ and __getattribute__.