Remove GetDirectory(..) without return value
Merge pull request #2707 from Rawk/use_return_value3

Remove URIUtils::GetDirectory(..) function without return value