[repair_rpmdb] small changes in the script

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
Merge pull request #7 from sailfishos/repair-rpmdb-small-changes

[repair_rpmdb] small changes in the script