Fix a possible bug in source RPM uploads