python2.6 fix for EC2_PREFIX_TO_RESOURCE dictionary.