[repair_rpmdb] small changes in the script

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>