fix ensure_installed for SLE