Fix crash when listing latest backup

A one-element list containing "None" was emitted rather than an empty
list.  Fix this bug and insert some assertions to make such defects
more perspicuous.

Exercise the crash with an integration test.