In many pieces of TransportPCE code, maps are retrieved from the datastore with the getxx method which potentially returns null.
It would be better to use the associated nonnullxx method which returns an empty map instead of null and simplify checks.