don't raise a KeyError on old or wierd statuses (bug 1037469)
Merge pull request #2306 from andymckay/1037469

don't raise key error