PIM-1983 : fix getExpectedAttributes method (index of attributes that
come from product)