Preserve original path for gemspec

This change addresses #2458.

When adding a gemspec, the path was always expanded and then passed into the gem command. I'm unsure if this was an unintended side effect of 5a0489f78bd5321c3e414725ab686b29fbeaf4f5