Migrating deprecated API "pnConfigGetVar".