Fixes dependency api to support empty gem params as bundler uses that to ping the dependency api

Otherwise, the current bundler never uses the dependency api.