I suspect one of these environment variables isn’t set, that would explain finding a nil in sentinels
nil
sentinels