fix rpm extraction code, broken since 2010...