ensure RPM provided to upload is valid