Tweaked Mental Ray proxy detection, to avoid errors that can crop up when Mental Ray isn't being used.