nightly should not call "pkg info"
Apparently it used to use "pkginfo". But having it rely on packaging details which may or may not be present on the system is just plain busted.
Users should run nightly from the workspace, not from /opt/onbld.
The check needs to be removed.