Don't crash bucket if no database if found.
Merge pull request #2 from tomjnixon/master

Don't crash bucket if no database if found.