[sr-dev] git:master:afd0c929: siptrace: check if trace_to_database is set before checking the db connection