don't segfault without a valid database entry
Merge pull request #10 from v4hn/pose_result-no-db-fix

don't segfault without a valid database entry