Avoid NPEs when there are no migrations [registered]

Happens when Joplin tries to migrate things down on a blank
database/keyspace/etc.

Submitted as a pull request #44 upstream.
Commit a missing fix for weavejester/ragtime#34

Fixes #34.