s3: Hide some uses of pdb_get_init_flags (which I would love to remove...)