lua : return nil instead of NAN on latitude/longitude of images when not set