fix repository fallback