sysdb: Do not add duplicate entries to the history.
Merged branch 'master' of git://git.tokkee.org/sysdb.