Clean up --install-dir handling

While reviewing pull request #442 an unused instance variable @gem_home
was discovered.

The unused instance variable was removed and a slight refactoring was
performed.