> Can the build not be found in PackageBuild? In other words, can PackageBuild return None?

Not really, no.

AFAIK, while SQLAlchemy queries return `None` when no object matches the query, SQLObject instead raises a `SQLObjectNotFound` exception.