Fix bundle open when gem does not contain a Gemfile (fixes #2678)

This PR fixes a "Could not locate Gemfile" error which occurs when `bundle open <gemname>` is run with a repository that does not contain a Gemfile (see #2678 for an example).