[sr-dev] git:master:29d7ca71: imc: better condition to catch no result of database query