[BUGFIX] Ensure PB version is accessible in generator