base: does not reinstall pkgs from local rpms with install command (RhBug:1122617)
history: fixed wrong set operation (RhBug:1136223)