Get attribute error when field value is None

It can occur that a NMEA sentence is missing fields even though the checksum is valid. Retrieving the value of one of these missing fields can cause an error.