Fixed an AttributeError triggered when Mapping.get_attribute_map was
called without passing a key.