Added check for making sure that an RPM should be archived.