Check for path overlap only if dest is string