single quotes won't expand the string, and ```File.exists?``` won't work for the home path like that...something like this would work:
```File.exists?(File.expand_path(".vim/bundle/#{package}", ENV['HOME']))```

but, not sure what the ```sh``` command you have below would do to fix the repo already being cloned.