Isn't there an "else" branch missing here? IIRC this can be hit when there is neither an active database deployment nor a pending proposal? I think we should either fallback to sqlite, or warn about a missing dependency. Otherwise you'll endup with a very unhelpful error message in the WebUI ("Successfully queued the proposal until the following become ready: d52-54-00-da-6a-74" in my case)