[Locations] Only resolve destDir if it's a string