Add checking for duplicate rpms