Add condition if install repo is false