Fix NPE when building GTFS graph