Maint/master/fix vendor gems cd

The 'cd' call in vendor_gems.rake doesn't return up to its previous location
afterwards, because its not in a do..end block. This means the tarball ends up
in vendor/cache/ instead of pkg/. This commit updates the task accordingly.