get_attribute should never raise KeyError
Merge pull request #2498 from pulilab/support/2.4.x

get_attribute should never raise KeyError