final fix to try/except if version is int/float in rpm.require.repository