Check if the Names dictionary actually contains a Dests dictionary before attempting to get the destinations
Fix unit test for getDestinations
Merge pull request #4796 from Snuffleupagus/get-destinations-empty-Names

Check if the Names dictionary actually contains a Dests dictionary before attempting to get the destinations