PIM-3535: Added a path resolver for media setter
Merge pull request #1948 from akeneo/cleanup-for-PIM-3535

PIM-3535: Added a path resolver for media setter