Bug fix for when we cannot get gamma ramp information

Signed-off-by: Mattias Andrée <maandree@operamail.com>