contrib/rpm: Fix Fedora 19 build

Too old to have recent enough ModemManager.
contrib/rpm: Do not count only the first parent

After an octopus merge, the first parent is not guarranteed to contain the
commit the reference pointed to previously.