Don't crash on empty appcasts.

This bug was introduced by PR #14 in ec85b3cfeecf9bac185798aecbc108fc66832bfc.

Fixes #24.