bugfix to avoid YES TypeError
When an Class' attribute is assigned, astroid throws an Attribute Exception. Reopens #16