fix getattr raises DoesNotExist on RelatedField