Changelog: Detect no builds available

AOKP Changelog: Show message when no builds are
 available for the device.
Improve error checking around getting the change to
 select from the database.

Change-Id: I0d50b89f47f1518612f54a793f34cd02d90f34be