VID-555 Make sure we are accessing the global variable correctly

Also make sure we don't show a messy error screen when a wiki in globalimagelinks does not exist anymore (or in Dev, was never synced)