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