fixes #42 checks to make sure Customer is not null

The old code forgot to check to make sure that the `Customer` being `get`ed from the ride queue was not null, resulting in `NullPointerException`s.