OSG - parse trailing '/' in key names correctly

Fixes EUCA-9590