Fix RPM queries.

Fixes #37.

The bug was introduced while trying to generate the -SNAPSHOT<date> in the RPM release field.  It affected this Perl file by mistake.