Fixed issue where getTopology() throws exception on bridge devices

On Bridge devices, the returned info doesn't include the MediaServers property, which the library expects. Added checks to avoid this.