Correctly install gemini when system install is a local directory