Return error if no RPM packages are detected.