PIM-3535: Added a path resolver for media setter