Fixed bug in RPM script