[MC-99]: Prevent PHP Warning to happen.
Check that $absoluteAttributeMapping is not empty before applying max() function to it.
Merge pull request #313 from akeneo/MC-99-to-1.1

MC-99: Prevent PHP Warning to happen.